export function request(configs) {
	return new Promise((resolve, reject) => {
		uni.request({
			url: configs.url,
			method: configs.method ?? 'GET',
			data: configs.data,
			header: {
				Token: '',
				...configs.header
			}
		}).then(e => {
			resolve(e)
		})
	})
}